package com.softeem.xyblogmaster.vo;


import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.List;

@Data
public class ArticlesVO {
    private int  id;
    @NotBlank(message = "标题不能为空")
    private String title;

    private String content;

    @Min(value =1 ,message = "分类不能为空")
    private int categoryId;
    private List<String> tags;
}
